﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewRen.Models
{
    /// <summary>
    /// 资源链接
    /// </summary>
    public class Link
    {
        /// <summary>
        /// 逻辑ID
        /// </summary>
         public int ID { set; get; }

        /// <summary>
        /// 链接名称
        /// </summary>
        [StringLength(100)]
        [Index]
        public string Title { set; get; }

        /// <summary>
        ///  链接URL
        /// </summary>
        public string URL { set; get; }


        /// <summary>
        /// 是否展示
        /// </summary>
        public bool IsShow { set; get; }

        /// <summary>
        ///  优先级
        /// </summary>
        public int Priority { set; get; }


    }
}
